package com.xingchen.loveparttimejob.service;

import com.xingchen.loveparttimejob.dao.JobReleaseDAO;
import com.xingchen.loveparttimejob.dao.impl.JobReleaseDAOImpl;
import com.xingchen.loveparttimejob.model.pojo.JobRelease;
import com.xingchen.loveparttimejob.model.pojo.User;
import com.xingchen.loveparttimejob.uitls.PagerUtil;

import java.util.List;

/**
 * @author 小志
 * @date 2024/12/9 - 16:17
 */
public interface JobReleaseService {
    static final JobReleaseDAO JOB_RELEASE_DAO = new JobReleaseDAOImpl();//职位发布实现类
    /**
     * 获取商家显示的数据
     * @param pager 分页类
     * @param key 判断是哪个商家的唯一主键
     * @return 返回当前商家所有的集合
     */
    public List<JobRelease> getSelectJobReleaseList(PagerUtil<JobRelease> pager, String key, boolean closeDB);
}
